package com.situ.day26;

import java.lang.String;

public class SingletonDemo {
    public static void main(String[] args) {
        //Student student1 = new Student();
        //Student student2 = new Student();

        Singleton instance1 = Singleton.getInstance();
        Singleton instance2 = Singleton.getInstance();
        System.out.println(instance1 == instance2);// true
    }
}
